App({
  onLaunch() {
    const originalRequest = wx.request; 
    wx.request = function (options) {
      options.withCredentials = true; 
      return originalRequest(options);
    };
  }
});
